<template>
  <div>
    <div class="top">
      <van-tabs v-model="active" line-width="20px"  route>
        <van-tab title="推荐" replace to="/layout/interview/recommend"></van-tab>
        <van-tab title="最新" replace to="/layout/interview/new"></van-tab>
      </van-tabs>
      <img src="../assets/logo.dbd40807.png" alt="">
    </div>
    <div class="content">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HmInterview',
  data() {
    return {
      active: 0,
    };
  }
};
</script>

<style lang="less" scoped>
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  height: 40px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000; 
  img {
    width: 60px;
    height: 30px;
  }
  .content {
    padding-top: 50px;
  }
}
</style>